import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
Vue.prototype.checkLogin=function(){
	let SUID=uni.getStorageSync('SUID')
	let SNAME=uni.getStorageSync('SNAME')
	let PHONE=uni.getStorageSync('PHONE')
	let EMAIL=uni.getStorageSync('EMAIL')
	let SFACE=uni.getStorageSync('SFACE')
	if(SUID=='' || SNAME==''|| PHONE==''|| EMAIL==''){
		return false
	}
	return [SUID,SNAME,SFACE]
}
Vue.prototype.apiServer='http://1.14.30.101:7788/'
Vue.prototype.staticServer='http://1.14.30.101:7788/'
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif